package com.sh.ssao.lottery.config.poi;

import org.apache.poi.hssf.usermodel.HSSFSheet;
import org.apache.poi.hssf.usermodel.HSSFWorkbook;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Component
public class SharesReport {


    public HSSFWorkbook exportExcel(String name, String title, String[] headers, String[]  fields, List<Map<String,Object>> data, String date) {
        // 声明一个工作薄
        HSSFWorkbook workbook = new HSSFWorkbook();
        // 生成一个表格
        HSSFSheet sheet = workbook.createSheet("");

        return workbook;
    }
}
